package com.ruoyi.miaomiao.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 轮播图管理对象 f_slidepicture
 * 
 * @author ruoyi
 * @date 2022-08-09
 */
@ApiModel(value = "轮播图对象", description = "轮播图对象的属性描述")
public class SlidePicture extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 轮播图id */
    @ApiModelProperty(value = "轮播图id", name = "slidepictureId", example = "300001")
    private Long slidepictureId;

    /** 商品id */
    @ApiModelProperty(value = "商品id", name = "goodsId", example = "123456793")
    @Excel(name = "商品id")
    private String goodsId;

    /** 轮播图 */
    @ApiModelProperty(value = "轮播图url", name = "slidepictureCover", example = "http://192.168.2.78:8080/image/slidepic300001.jpg")
    @Excel(name = "轮播图")
    private String slidepictureCover;

    /** 轮播图状态（1-上架，0-下架） */
    @ApiModelProperty(value = "轮播图状态", name = "slidepictureStatus", example = "1=-上架，0-下架")
    @Excel(name = "轮播图状态", readConverterExp = "1=-上架，0-下架")
    private String slidepictureStatus;

    /** 创建者 */
    @ApiModelProperty(value = "创建者", name = "creator", example = "admin")
    @Excel(name = "创建者")
    private String creator;

    /** 更新者 */
    @ApiModelProperty(value = "更新者", name = "updater", example = "admin")
    @Excel(name = "更新者")
    private String updater;

    /** 轮播图描述 */
    @ApiModelProperty(value = "轮播图描述", name = "slidepictureDescription", example = "原神！魈！")
    @Excel(name = "轮播图描述")
    private String slidepictureDescription;

    public void setSlidepictureId(Long slidepictureId) 
    {
        this.slidepictureId = slidepictureId;
    }

    public Long getSlidepictureId() 
    {
        return slidepictureId;
    }
    public void setGoodsId(String goodsId) 
    {
        this.goodsId = goodsId;
    }

    public String getGoodsId() 
    {
        return goodsId;
    }
    public void setSlidepictureCover(String slidepictureCover) 
    {
        this.slidepictureCover = slidepictureCover;
    }

    public String getSlidepictureCover() 
    {
        return slidepictureCover;
    }
    public void setSlidepictureStatus(String slidepictureStatus) 
    {
        this.slidepictureStatus = slidepictureStatus;
    }

    public String getSlidepictureStatus() 
    {
        return slidepictureStatus;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }
    public void setSlidepictureDescription(String slidepictureDescription) 
    {
        this.slidepictureDescription = slidepictureDescription;
    }

    public String getSlidepictureDescription() 
    {
        return slidepictureDescription;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("slidepictureId", getSlidepictureId())
            .append("goodsId", getGoodsId())
            .append("slidepictureCover", getSlidepictureCover())
            .append("slidepictureStatus", getSlidepictureStatus())
            .append("createTime", getCreateTime())
            .append("creator", getCreator())
            .append("updateTime", getUpdateTime())
            .append("updater", getUpdater())
            .append("slidepictureDescription", getSlidepictureDescription())
            .toString();
    }
}
